//
//  GYMineBuyInfoDetailViewModel.h
//  GYDemo
//
//  Created by mac on 2018/3/27.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"
#import "GYMineBuyInfoViewModel.h"

@interface GYMineBuyInfoDetailSpecialPropertyModel : NSObject
@property (nonatomic, strong) NSDictionary * productTypeProperty;
@property (nonatomic, strong) NSArray * list;
@property (nonatomic, strong) NSString * code;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, assign) NSInteger protypeid;
@property (nonatomic, strong) NSString * search;
@property (nonatomic, assign) NSInteger sort;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, strong) NSObject * tlevel;
@property (nonatomic, assign) NSInteger type;
@end

@interface GYMineBuyInfoDetailModel : NSObject
@property (nonatomic, strong) NSString * address;
@property (nonatomic, strong) NSString * area;
@property (nonatomic, strong) NSString * areas;
@property (nonatomic, strong) NSString * buyaddress;
@property (nonatomic, assign) NSInteger buyid;
@property (nonatomic, strong) NSString * city;
@property (nonatomic, strong) NSString * companyname;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, assign) NSInteger createtime;
@property (nonatomic, strong) NSString * descriptionField;
@property (nonatomic, assign) NSInteger down;
@property (nonatomic, strong) NSString * endtime;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSString * linkmobile;
@property (nonatomic, strong) NSString * lname;
@property (nonatomic, assign) NSInteger maxprice;
@property (nonatomic, assign) NSInteger minprice;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, assign) NSInteger pid;
@property (nonatomic, assign) NSInteger protypeid;
@property (nonatomic, strong) NSString * protypename;
@property (nonatomic, strong) NSString * province;
@property (nonatomic, strong) NSString * qq;
@property (nonatomic, strong) NSArray * specialproperty;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, assign) NSInteger topid;
@property (nonatomic, assign) NSInteger topip;
@property (nonatomic, strong) NSString * unit;
@end

@interface GYMineBuyInfoDetailViewModel : GCBaseViewModel
@property (nonatomic,strong) GYMineBuyInfoModel *buyInfoModel;
@property (nonatomic,strong) GYMineBuyInfoDetailModel *buyInfoDetailModel;
@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *type;
@property (nonatomic,strong) NSString *price;
@property (nonatomic,strong) NSString *area;
@property (nonatomic,strong) NSString *count;
@property (nonatomic,strong) NSString *endDate;
@property (nonatomic,strong) NSString *serverCount;
@property (nonatomic,strong) NSString *createDate;
@property (nonatomic,strong) NSString *descriptions;
@property (nonatomic,strong) NSMutableArray *serverDataSource;
-(void)requestDetail;
-(void)requestServers;
@end
